﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CSharp.Libs.Misc;

namespace BankFileParser_Debugging
{
    class Program
    {
        static void Main(string[] args)
        {
            string strDate = "22.04.2013";
            DateTime datDate;
            bool fDatePased = DateTime.TryParse(strDate, out datDate);

            Console.WriteLine(datDate);

            Console.ReadKey();


            BankDataItem bdi;


            bdi = new BankDataItem() { DateString = "11.05.2013", Description = "Testumsatz", Sales = 55 };
            Console.WriteLine(bdi.Date);

            Console.ReadKey();





            bdi = new BankDataItem() { DateString = "#11-05-2013#", Description = "Testumsatz", Sales = 55 };
            Console.WriteLine(bdi.Date);

            Console.ReadKey();
        }
    }
}
